import time
import os

if __name__ == "__main__":
    print('程序已启动，等到定时任务开始')
    while True:
        if time.strftime('%H:%M:%S') == '08:30:00':
            print('定时任务开始，即将执行！')
            os.system(r'python E:\Codes\centralized_dispatching_platform-master-new\My_utils.py')
            print('定时任务执行结束，即将开始休眠！')
        else:
            time.sleep(0.5)